package cn.tedu.spring.dibase;
/**
 * xml文件：bean-di.xml
 * 测试类名：TestBook
 * 要求：使用xml方式创建Book对象，并再打印测试
 */
public class Book {
    private String bookName;
    private String bookAuthor;

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookName='" + bookName + '\'' +
                ", bookAuthor='" + bookAuthor + '\'' +
                '}';
    }
}
